import ubinascii
import network

wlan=network.WLAN(network.STA_IF)
wlan.active(True)
mac=wlan.config('mac')
# print(ubinascii.hexlify(mac).decode())
# print(ubinascii.hexlify(mac))
print(mac)